-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add job_name
to job_kwargs
#1986
Add job_name
to job_kwargs
#1986
Conversation
@@ -366,13 +365,14 @@ def run_node_pipeline( | |||
|
|||
init_args = (recording, nodes) | |||
|
|||
job_kwargs["job_name"] = "pipeline" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure we want to modify in place a global job_kwargs dict we have in many script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not modify the global job_kwargs here. It is just replicating the behavior that we had before.
Or maybe I am missing something?
Finally I am not sure this is a good idea. (I change my mind often)
job_kwargs = dict(n_jobs=4, chunk_duration='2s')
my_parralel_func(..., **job_kwargs) I do not want my job_kwargs to be modified my |
Can you point out this more stuff? This is important for me to know as I have been working with this assumption.
The name is still decided by the |
We agreed that |
job_kwargs if the keyword arguments of
ChunkRecordingExecutor
but for some reasonjob_name
was missing. This PR fixes that.Based on this discussion #1799 (comment)